﻿/*----------------------------------------------------------------------------------------
*
*  Copyright 2019, Gao Hai Hui, <fromzeropoint@126.com>.  All rights reserved.
*  https://gitee.com/helloworldghh/xoskit.git
*  Use of this source code is governed by a MIT license
*  that can be found in the License file.
*
----------------------------------------------------------------------------------------*/
#ifndef __A3769F1C_CFB7_4782_B05C_E38CBD9180D2__
#define __A3769F1C_CFB7_4782_B05C_E38CBD9180D2__

namespace xos_sqlite
{

    /////////////////////////////////////////////////////////////////////////////////
    // 
    // sqlite接口
    // 
    class i_sqlite : public xos::i_release
    {
    public:
        virtual ~i_sqlite(){}

    public:
    };

    /////////////////////////////////////////////////////////////////////////////////
    // 
    // i_sqlite_mgr
    // 
    class i_sqlite_mgr : public xos::i_release
    {
    public:
        virtual ~i_sqlite_mgr(){}

    public:
        // 
        // create
        // 
        virtual int create( i_sqlite ** ppv ) = 0;
    };

    /////////////////////////////////////////////////////////////////////////////////
    // 
    // export function
    // 
    typedef int ( * f_create )( xos_container::i_container * pContainer, i_sqlite_mgr ** ppv );


} // xos_sqlite

#endif // __A3769F1C_CFB7_4782_B05C_E38CBD9180D2__
